package cn.iocoder.yudao.framework.mqtt.core.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(value = RetentionPolicy.RUNTIME)
public @interface MqttTopicListener {
    String value(); // topic name
    int qos() default 0; // QoS级别，默认为0
}
